Fix circular dependency issue when installing mitdeeplearning in lab 1#176
Open
cito125 wants to merge 1 commit intoMITDeepLearning:masterfrom
Open
Fix circular dependency issue when installing mitdeeplearning in lab 1#176cito125 wants to merge 1 commit intoMITDeepLearning:masterfrom
cito125 wants to merge 1 commit intoMITDeepLearning:masterfrom
Conversation
Before the change running the cell resulted in the following error which didn’t allow for the rest of the lab to be completed: ``` error: ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts. gcsfs 2025.3.0 requires fsspec==2025.3.0, but you have fsspec 2024.12.0 which is incompatible. ``` Attempting to upgrade each library manually resulted in a dependency issue where different dependencies required different versions of the same library: ``` ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts. datasets 3.4.1 requires fsspec[http]<=2024.12.0,>=2023.1.0, but you have fsspec 2025.3.0 which is incompatible. Successfully installed fsspec-2025.3.0 ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts. gcsfs 2025.3.0 requires fsspec==2025.3.0, but you have fsspec 2024.12.0 which is incompatible. ``` I assume this was fixed in `mitdeeplearning` so the upgrade fixes this issue.
Author
|
With ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts. Any idea how to fix it? |
Author
|
Hey Xie, try running it twice with that updated command. Can you paste the
entire contents of the cell here?
…On Thu, Apr 3, 2025, 00:09 Shaojun Xie ***@***.***> wrote:
With pip install mitdeeplearning --upgrade --quiet, I still get the error:
ERROR: pip's dependency resolver does not currently take into account all
the packages that are installed. This behaviour is the source of the
following dependency conflicts.
gcsfs 2025.3.0 requires fsspec==2025.3.0, but you have fsspec 2024.12.0
which is incompatible.
Any idea how to fix it?
—
Reply to this email directly, view it on GitHub
<#176 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AFCIDXPA3TENA45OOOXQSB32XRU3RAVCNFSM6AAAAABZTSFED2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDONZTHEZDKNBRGQ>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
[image: xie186]*xie186* left a comment
(MITDeepLearning/introtodeeplearning#176)
<#176 (comment)>
With pip install mitdeeplearning --upgrade --quiet, I still get the error:
ERROR: pip's dependency resolver does not currently take into account all
the packages that are installed. This behaviour is the source of the
following dependency conflicts.
gcsfs 2025.3.0 requires fsspec==2025.3.0, but you have fsspec 2024.12.0
which is incompatible.
Any idea how to fix it?
—
Reply to this email directly, view it on GitHub
<#176 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AFCIDXPA3TENA45OOOXQSB32XRU3RAVCNFSM6AAAAABZTSFED2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDONZTHEZDKNBRGQ>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
|
Thank you for your quick response. First run: Second run: No error any more. This is weird. But still thank you for your help. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Before the change running the cell resulted in the following error which didn’t allow for the rest of the lab to be completed:
Attempting to upgrade each library manually resulted in a dependency issue where different dependencies required different versions of the same library:
I assume this was fixed in
mitdeeplearningso the upgrade fixes this issue.